package cn.edu.nju.software.cdiy.dao;

import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;

import cn.edu.nju.software.cdiy.bean.OrderHardware;
import cn.edu.nju.software.cdiy.bean.Uorder;

public interface OrderHardwareDao {

	public OrderHardware save(OrderHardware order_hardware);
	
	public void uorderToOrderHardware();
	/*
	 * 获得某个Horder的详细信息
	 */
	public List<OrderHardware> getByHorderId(long horderId,int page,int pageSize);
	/*
	 * 获得某个Horder的详细信息的长度
	 */
	public long getHorderId(long horderId);
	public List<Uorder> loadUorderByDate2(GregorianCalendar beginDate,
			GregorianCalendar endDate);
}
